<template>
  <div>
    <div class="top-nav">
      <span>
        <van-icon name="arrow-left" /></span>
      {{topNavTitle}}
    </div>
  </div>
</template>

<script>
export default {
  props: ["topNavTitle"]
}
</script>

<style lang="scss" >
@import "@/assets/css/common.scss";
.top-nav {
  position: relative;
  background: $theme-color;
  width: 100%;
  height: 1rem;
  line-height: 1rem;
  font-weight: bold;
  span {
    position: absolute;
  }
}
</style>